<?php 
include(dirname(__FILE__)."/inc/taobaoCom.php");
include(dirname(__FILE__)."/inc/template.class.php");
$class = new taobaoCom();
$templateRoot = dirname(__FILE__)."/templates/";
$tpl = new Template($templateRoot);
$cats = $class->getSonCats("0");
$tpl->assign("cats",$cats);
$tpl->display("index.tpl.php");
?>
